BTConditional = BTTask:New()

local this = BTConditional
this.taskType = BTTaskType.Conditional

function this:New()
	local o = {}
	setmetatable(o, self)
	self.__index = self
	return o
end

function this:OnUpdate()
	if (self:Check()) then
		return BTTaskStatus.Success
	else
		return BTTaskStatus.Failure
	end
end

function this:Check()
	return false
end